console.log("项目主入口");

var express = require("express");
app.use=express()

var cors = require("cors")
app.use("cors")

var cookieParser =require("cookie-parser")
app.use(cookieParser())

var bodyParser = require("body-parser")
app.use(bodyParser.urlencoded())

var mysql =require("./util/sqlhelper")
//创建服务器

app.engine("html", require("express-art-template"));
app.use("/static", express.static("public"));
app.get("/api/index")





app.listen(6789, function() {
	console.log("web服务器启动了0");
})